#ifndef _TIMER_H
#define _TIMER_H
#include "sys.h"
#include "apm32f10x_tmr.h"

void Systick_Init (uint8_t SYSCLK);
void delay_s( uint32_t time_s );
void delay_us(uint32_t time_us);
void delay_ms(uint32_t time_ms);

void TIM4_Init(u16 arr,u16 psc);
void TIM3_Init(u16 arr,u16 psc);

#endif
